package com.key.w8.common;

import io.netty.handler.ssl.SslContext;

/**
 * @Author: k8
 * @CreateTime: 2025-02-19
 * @Version: 1.0
 */
public interface HttpSslConfigInitializer {
    /**
     * config ssl, generate sslContext
     * @return sslContext
     * @throws Exception if config ssl fail
     */
    SslContext configSslContext(String tslProtocol) throws Exception;

}
